package com.zishi.venuesbooking.entity;

public class Comment {
    private String id;
    private String userId;
    private String userAvatar;
    private String userName;
    private String venueId;
    private String venueName;
    private String content;
    private int rating;
    private long createTime;

    // 构造方法
    public Comment(String id, String userId, String userAvatar, String userName,
                   String venueId, String venueName, String content,
                   int rating, long createTime) {
        this.id = id;
        this.userId = userId;
        this.userAvatar = userAvatar;
        this.userName = userName;
        this.venueId = venueId;
        this.venueName = venueName;
        this.content = content;
        this.rating = rating;
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getVenueId() {
        return venueId;
    }

    public void setVenueId(String venueId) {
        this.venueId = venueId;
    }

    public String getVenueName() {
        return venueName;
    }

    public void setVenueName(String venueName) {
        this.venueName = venueName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getRating() {
        return rating;
    }

    public void setRating(int rating) {
        this.rating = rating;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
